package com.example.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
* <p>
* 商品的详细介绍图片
* </p>
*
* @author 作者
* @since 2022-05-29
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("r_goods_details_picture")
public class GoodsDetailsPicture extends Model<GoodsDetailsPicture> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goods_id", type = IdType.ASSIGN_ID)
    private Long goodsId;

    private String goodsDetailsPicture;

    @Override
    public String toString() {
        return "GoodsDetailsPicture{" +
                "goodsId=" + goodsId +
                ", goodsDetailsPicture='" + goodsDetailsPicture + '\'' +
                '}';
    }
}
